<template>
  <!-- 体验 -->
  <div>
    <!-- 上层:黑色背景部分 -->
    <div class="top">
      <!-- 标题层级 -->
      <div>
        <p class="beijing">北京</p>
        <h1>体验</h1>
        <ul class="title">
          <li><a href="">酒店设施</a></li>
          <li><a href="">我们的服务</a></li>
          <li><a href="">情侣体验</a></li>
          <li><a href="">免费服务</a></li>
        </ul>
      </div>
      <!-- 图片 -->
      <div class="pic">
        <img src="/img/experience/experience_01.jpg" alt="" />
        <a href="/photos-and-videos">查看更多照片</a>
      </div>
      <!-- 酒店设施 -->
      <div>
        <p class="title_sheshi">酒店设施</p>

        <template>
          <swiper class="swiper" :options="swiperOption">
            <swiper-slide>
              <div>
                <img src="/img/experience/swiper_01.jpg" alt="" />
                <span class="small">趣味儿童活动</span>
                <span class="big"
                  >北京有很多值得探索的地方，同时我们也在酒店为小客人准备了很多精彩的活动
                  —
                  由世界冠军讲授的乒乓球课程、由驻店艺术家开设的绘画课程，以及儿童水疗服务，定能让他们乐不思蜀。</span
                >
              </div>
            </swiper-slide>
            <swiper-slide>
              <div>
                <img src="/img/experience/swiper_02.jpg" alt="" />
                <span class="small">健康俱乐部</span>
                <span class="big"
                  >在我们的 24
                  小时健身俱乐部进行锻炼，继续您的健身计划。无论白日还是晚间，抬眼便是壮美的城市天际线，助您保持健身动力。</span
                >
                <a href="">详情</a>
              </div>
            </swiper-slide>
            <swiper-slide>
              <div>
                <img src="/img/experience/swiper_03.jpg" alt="" />
                <span class="small">行政酒廊</span>
                <span class="big"
                  >在露台上与同事共饮鸡尾酒，在图书室举行私人会议，或者在 26
                  层的专属酒廊内让我们贴心的员工协助您处理一些紧急的工作。</span
                >
              </div>
            </swiper-slide>
            <swiper-slide>
              <div>
                <img src="/img/experience/swiper_04.jpg" alt="" />
                <span class="small">室内泳池</span>
                <span class="big"
                  >在 20 米（66
                  英尺）的日光泳池放松畅游，或在毗邻的漩涡池泡去一身的疲惫，安享静谧角落，坐看都市熙攘。</span
                >
              </div>
            </swiper-slide>
            <!-- <div class="swiper-pagination" slot="pagination"></div> -->
          </swiper>
        </template>
      </div>
      <!-- 联系我们 -->
      <div class="connection">
        <div class="white">
          <span>
            在北京市中心的优越位置，探索由尊贵礼遇与舒适设施共同打造的非凡体验。
          </span>
          <span>+8615200057013</span>
          <a class="explore" href="">探索</a>
        </div>
      </div>

      <!-- 更多 -->
      <div class="more">
        <p>更多设施</p>
        <p>_________</p>
        <div>
          <div>
            <p>两间餐厅与大堂酒廊</p>
            <p>代客泊车</p>
            <p>24 小时商务中心</p>
          </div>
          <div>
            <p>漩涡池</p>
            <p>桑拿房</p>
            <p>美发和美甲沙龙</p>
          </div>
        </div>
      </div>
    </div>
    <!-- 下层:白色背景部分 -->
    <div class="bottom">
      <div class="text">
        <p>
          我的理念是平等对待每一位宾客。他或许是你当天遇到的第 30
          位客人，但你可能是他遇到的第一个工作人员。因此，你的所作所为会给他们留下深刻印象。
        </p>
        <span>张曦</span>
        <span>房务总监</span>
      </div>
      <!-- 更多_我们的服务 -->
      <div class="more_2">
        <p>我们的服务</p>
        <p>_________</p>
        <div>
          <div>
            <p>多语种礼宾</p>
            <p>接机服务</p>
            <p>24 小时客房送餐服务</p>
          </div>
          <div>
            <p>豪华轿车服务</p>
            <p>24小时洗衣、干洗和熨衣服务</p>
            <p>酒店内鲜花店</p>
          </div>
        </div>
      </div>
      <!-- 情侣体验 -->
      <div class="lovers">
        <p class="lovers_title">情侣体验</p>
        <div>
          <img src="/img/experience/lovers.jpg" alt="" />
          <div>
            <p class="p1">浪漫体验</p>
            <p class="p2">
              北京四季酒店在繁华的市中心为您提供奢宠体验，从魔力之夜水疗护理，到帮助您为大喜之日做好准备的定制准新人训练营，我们将让您与伴侣只专注于彼此，享受美好浪漫时光。
            </p>
          </div>
        </div>
      </div>
      <!-- 更多_情侣礼遇 -->
      <div class="more_lovers">
        <p>我们的服务</p>
        <p>_________</p>
        <div>
          <div>
            <p>多语种礼宾</p>
            <p>接机服务</p>
            <p>24 小时客房送餐服务</p>
          </div>
          <div>
            <p>豪华轿车服务</p>
            <p>24小时洗衣、干洗和熨衣服务</p>
            <p>酒店内鲜花店</p>
          </div>
        </div>
      </div>
      <!-- 更多联系我们 -->
      <div class="connection">
        <div class="white2">
          <span> 我们可为您妥帖安排一切。 </span>
          <span>+8615200057013</span>
          <a class="explore" href="">探索</a>
        </div>
      </div>
      <!-- 免费服务 -->
      <div class="free">
        <p>免费服务</p>
        <p>_________</p>
        <div>
          <div>
            <p>精准WI-FI</p>
            <p>每日两次客房保洁</p>
            <p>夜间擦鞋服务</p>
          </div>
          <div>
            <p>夜床用品和零食</p>
            <p>报纸</p>
            <p>以中国文化与艺术为主题的图书室</p>
          </div>
        </div>
      </div>
      <!-- 最下方黑框 -->
      <div class="black">
        <div class="left">
          <p class="p1">令人难忘的会议与活动</p>
          <p class="p2">
            北京四季酒店的地标性建筑中共设有 11
            处装饰时尚的各类场地，将老北京的魅力与现代科技巧妙结合，是您举办会议或特别活动的理想场所。
          </p>
        </div>
        <div class="right">
          <p class="p1"><a href="">会议与活动 -></a></p>
          <p class="p2"><a href="/wedding">婚宴 -></a></p>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import { Swiper, SwiperSlide } from "vue-awesome-swiper";
import "swiper/css/swiper.css";
export default {
  name: "swiper-example-carousel-mode",
  title: "Auto slides per view / Carousel mode",
  components: {
    Swiper,
    SwiperSlide,
  },
  data() {
    return {
      swiperOption: {
        slidesPerView: "auto",
        spaceBetween: 30,
        loop: "true",
        pagination: {
          el: ".swiper-pagination",
          clickable: true,
        },
      },
    };
  },
};
</script>

<style lang="scss" scoped>
* {
  margin: 0;
  padding: 0;
  user-select: none;
}
.top {
  background-color: black;
  width: 100%;
  // 层级标题
  .beijing {
    text-align: center;
    color: #fff;
    padding: 30px 10px 0px 10px;
    font-style: italic;
  }
  h1 {
    text-align: center;
    color: #fff;
    padding: 30px 10px 10px 10px;
    font-size: 28px;
  }
  //ul标签
  .title {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 10px;
    font-size: 12px;
    font-weight: bold;

    li {
      float: left;
      padding: 15px 20px;
    }

    a {
      text-decoration: none;
      color: #fff;
    }
  }
  // 背景层
  .pic {
    width: 100%;
    img {
      width: 100%;
      height: 700px;
    }
    a {
      color: #fff;
      display: inline-block;
      padding: 20px 50px 0px 80px;
      text-decoration: underline;
      font-style: italic;
    }
  }

  // 联系我们
  .white {
    margin: auto;
    width: 50%;
    height: 100px;
    background-color: #fff;
    margin-top: 50px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    span:nth-child(1) {
      display: inline-block;
      // background-color: red;
      width: 50%;
      font-size: 18px;
      font-weight: bold;
    }
    span:nth-child(2) {
      display: inline-block;
      // background-color: green;
      width: 20%;
    }
    a {
      display: inline-block;
      width: 20%;
      height: 30px;
      line-height: 30px;
      font-size: 14px;
      font-weight: bold;
      color: #fff;
      text-decoration: none;
      text-align: center;
      background-color: black;
    }
    a:hover {
      background-color: #fff;
      color: black !important;
      transition: 0.4s;
      border: 1px solid black;
    }
  }
  // 更多
  .more {
    margin: auto;
    width: 50%;
    height: 250px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 80px 0px;

    p {
      font-size: 16px;
    }
    div {
      display: flex;
      justify-content: space-between;
      div {
        margin: auto;
        display: flex;
        flex-direction: column;
        p {
          text-align: center;
          padding: 20px;
          justify-content: space-around;
        }
      }
    }
  }
}
.bottom {
  .text {
    text-align: center;
    // before 和 after 无法显示  待调试
    p::before {
      content: "“";
      color: #ddd;
      font-size: 50px;
    }
    p {
      padding: 60px 0;
      display: inline-block;
      width: 50%;
      height: 300px;
      font-size: 50px;
      font-weight: bold;
    }
    p::after {
      content: "“";
      color: #ddd;
      font-size: 50px;
    }

    span {
      display: block;
    }
  }
  .more_2 {
    margin: auto;
    width: 50%;
    height: 250px;
    color: black;
    font-weight: bold;
    text-align: center;
    padding: 80px 0px;

    p {
      font-size: 16px;
    }
    div {
      display: flex;
      justify-content: space-between;
      div {
        margin: auto;
        display: flex;
        flex-direction: column;
        p {
          text-align: center;
          padding: 20px;
          justify-content: space-around;
        }
      }
    }
  }
  .lovers {
    .lovers_title {
      color: black;
      text-align: center;
      font-size: 30px;
    }
    div {
      padding: 40px;
      text-align: center;

      div {
        width: 930px;
        margin: auto;
        left: 380px;
        .p1 {
          text-align: start;
          font-size: 14px;
          padding: 10px 0px 20px 0px;
        }
        .p2 {
          text-align: start;
          font-size: 20px;
          width: 400px;
        }
      }
    }
  }

  .more_lovers {
    margin: auto;
    width: 50%;
    height: 250px;
    color: black;
    font-weight: bold;
    text-align: center;
    padding: 40px 0px;

    p {
      font-size: 16px;
    }
    div {
      display: flex;
      justify-content: space-between;
      div {
        margin: auto;
        display: flex;
        flex-direction: column;
        p {
          text-align: center;
          padding: 20px;
          justify-content: space-around;
        }
      }
    }
  }
  // 联系我们
  .white2 {
    color: white;
    margin: auto;
    width: 50%;
    height: 100px;
    background-color: black;
    margin-top: 50px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 30px;
    span:nth-child(1) {
      display: inline-block;
      // background-color: red;
      width: 50%;
      font-size: 18px;
      font-weight: bold;
    }
    span:nth-child(2) {
      display: inline-block;
      // background-color: green;
      width: 20%;
    }
    a {
      display: inline-block;
      width: 20%;
      height: 30px;
      line-height: 30px;
      font-size: 14px;
      font-weight: bold;
      color: black;
      text-decoration: none;
      text-align: center;
      background-color: white;
    }
    a:hover {
      background-color: black;
      color: white !important;
      transition: 0.4s;
      border: 1px solid white;
    }
  }
  // 免费服务
  .free {
    margin: auto;
    width: 50%;
    height: 250px;
    color: black;
    font-weight: bold;
    text-align: center;
    padding: 40px 0px;
    p {
      font-size: 16px;
    }
    div {
      display: flex;
      justify-content: space-between;
      div {
        margin: auto;
        display: flex;
        flex-direction: column;
        p {
          text-align: center;
          padding: 20px;
          justify-content: space-around;
        }
      }
    }
  }
  // 最下方黑框
  .black {
    margin: auto;
    width: 60%;
    background-color: black;
    height: 300px;
    margin-bottom: 60px;
    display: flex;
    justify-content: space-around;
    .left {
      color: #fff;
      width: 50%;
      .p1 {
        display: inline-block;
        margin: 60px 30px;
      }
      .p2 {
        display: inline-block;
        margin: 20px 30px;
      }
    }
    .right {
      color: #fff;
      width: 50%;
      border-left: 1px solid white;

      .p1 {
        padding: 80px 0px 40px 40px;
        a {
          text-decoration: none;
          color: #fff;
        }
      }
      .p2 {
        padding: 0px 0px 40px 40px;
        a {
          text-decoration: none;
          color: #fff;
        }
      }
    }
  }
}
// title
.title_sheshi {
  color: #fff;
  padding: 40px 0px;
  display: inline-block;
  width: 100%;
  text-align: center;
  font-size: 30px;
}
// 轮播图
.swiper {
  img {
    width: 100%;
  }

  .small {
    color: #fff;
    display: block;
    padding: 20px 40px;
    font-size: 14px;
    font-weight: bold;
  }

  .big {
    color: #fff;
    display: flex;
    font-size: 18px;
    justify-content: flex-start;
    width: 50%;
    padding-left: 30px;
    // 调整字与字的距离
    letter-spacing: 3px;
    // 调整文字行距
    line-height: 30px;
  }
  a {
    color: #fff;
  }
}
// 轮播图大小
.swiper-slide {
  width: 55%;
}
</style>
